package com.huikeportal.dao;

import java.util.HashMap;
import java.util.List;

import com.huikeportal.model.AllIndexModel;
import com.huikeportal.model.ReportGraphData;
import com.huikeportal.model.ReportWeatherData;

public interface ChainStRptApiMapper {

	
	
	
	/**小时计算多场所指标按天group*/
	 List<ReportGraphData> selectCountDataHour(HashMap<String, Object> map);
	 
	 /**日计算多场所指标按天group*/
	 List<ReportGraphData> selectCountDataDay(HashMap<String, Object> map);
	 
	 /**周计算多场所指标按天group*/
	 List<ReportGraphData> selectCountDataWeek(HashMap<String, Object> map);
	 
	 /**月计算多场所指标按天group*/
	 List<ReportGraphData> selectCountDataMonth(HashMap<String, Object> map);
	 
	 /**年计算多场所指标按天group*/
	 List<ReportGraphData> selectCountDataYear(HashMap<String, Object> map);
	 
	
	/**获取小时折线图报表*/
    List<ReportGraphData> selectGraphDataHour(HashMap<String, Object> map);
    
    /**获取日折线图报表*/
    List<ReportGraphData> selectGraphDataDay(HashMap<String, Object> map);
    
    /**获取周线图报表*/
    List<ReportGraphData> selectGraphDataWeek(HashMap<String, Object> map);
    
    /**获取月折线图报表*/
    List<ReportGraphData> selectGraphDataMonth(HashMap<String, Object> map);
    
    /**获取年折线图报表*/
    List<ReportGraphData> selectGraphDataYear(HashMap<String, Object> map);
    /**获取天气表*/
    List<ReportWeatherData> selectWeatherDataGraph(HashMap<String, Object> map);
    /**获取指标info*/
    List<AllIndexModel> getIndexInfoByIndexId(HashMap<String, Object> map);
    
    /**
     * 获取场所指标的最大值
     * @param map
     * @return
     */
    ReportGraphData selectMaxSitesData(HashMap<String, Object> map);
}
